home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ WinNT KnownDLL 1.xpl < prev    next >
Text File  |  1999-03-05  |  1KB  |  50 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security"
  5. "NAME"="Known DLLs list"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Disable KnownDLLs cache"
  8. "DESCRIPTION 1"="By default, Windows NT caches system DLLs in a cache called the 'KnownDLLs' list."
  9. "DESCRIPTION 2"="A hacker could change this list in that way, that not the original Windows NT DLL is called, but a changed one from the hacker."
  10. "DESCRIPTION 3"="By activating this option, Windows NT will lock this list so the hacker can't manipulate it."
  11. "DESCRIPTION 4"="For more information, see the following KB article from Microsoft:"
  12. "DESCRIPTION 5"="http://support.microsoft.com/support/kb/articles/q218/4/73.asp"
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16. "COMMENT 2"="Version 1.0" 
  17.  
  18.  
  19. sPath="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\ProtectionMode"
  20. Sub Plugin_Initialize
  21.  if GetWinVer=2 then 
  22.     i=RegReadValue(sPath)
  23.     
  24.     if i=1 then
  25.        Call SetUIElement(1,true) 
  26.     end if  
  27.  else
  28.     Disable
  29.  end if
  30. End Sub
  31.  
  32. Sub Plugin_CheckData(ElementIndex)
  33. End Sub
  34.  
  35. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  b=GetUIElement(1)
  37.  if b=true then
  38.   Call RegWriteValue(sPath,1,2) 
  39.  else
  40.   Call RegWriteValue(sPath,0,2) 
  41.  end if
  42. End Sub
  43.  
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.  
  48.  
  49.  
  50.